Builder

class Builder : GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType> , VectorTile.Tile.LayerOrBuilder
Layers are described in section 4.1 of the specification
Protobuf type vector_tile.Tile.Layer

Functions

Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
fun <Type> addExtension(extension: ExtensionLite<MessageType, List<Type>>, value: Type): BuilderType
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
open fun addKeysBytes(value: ByteString): VectorTile.Tile.Layer.Builder
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
fun build(): MessageType
abstract fun build(): MessageLite
Link copied to clipboard
fun buildPartial(): MessageType
abstract fun buildPartial(): MessageLite
Link copied to clipboard
fun clear(): BuilderType
abstract fun clear(): MessageLite.Builder
Link copied to clipboard
fun clearExtension(extension: ExtensionLite<MessageType, out Any>): BuilderType
Link copied to clipboard
Although this is an "optional" field it is required by the specification.
See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
required string name = 1;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
required uint32 version = 15 [default = 1];
Link copied to clipboard
open fun clone(): BuilderType
abstract fun clone(): MessageLite.Builder
Link copied to clipboard
open fun getDefaultInstanceForType(): MessageType
abstract fun getDefaultInstanceForType(): MessageLite
Link copied to clipboard
fun <Type> getExtension(extension: ExtensionLite<MessageType, Type>): Type
Link copied to clipboard
fun <Type> getExtensionCount(extension: ExtensionLite<MessageType, List<Type>>): Int
Link copied to clipboard
open fun getExtent(): Int
Although this is an "optional" field it is required by the specification.
See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
open fun getFeaturesCount(): Int
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
open fun getKeys(index: Int): String
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
open fun getKeysBytes(index: Int): ByteString
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
open fun getKeysCount(): Int
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
open fun getKeysList(): List<String>
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
open fun getName(): String
required string name = 1;
Link copied to clipboard
open fun getNameBytes(): ByteString
required string name = 1;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
open fun getValuesCount(): Int
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
open fun getVersion(): Int
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
required uint32 version = 15 [default = 1];
Link copied to clipboard
fun <Type> hasExtension(extension: ExtensionLite<MessageType, Type>): Boolean
Link copied to clipboard
open fun hasExtent(): Boolean
Although this is an "optional" field it is required by the specification.
See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];
Link copied to clipboard
open fun hasName(): Boolean
required string name = 1;
Link copied to clipboard
open fun hasVersion(): Boolean
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
required uint32 version = 15 [default = 1];
Link copied to clipboard
Link copied to clipboard
open fun mergeDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Boolean
Link copied to clipboard
open fun mergeFrom(message: MessageType): BuilderType
abstract fun mergeFrom(input: CodedInputStream): MessageLite.Builder
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
fun <Type> setExtension(extension: ExtensionLite<MessageType, Type>, value: Type): BuilderType
Link copied to clipboard
Although this is an "optional" field it is required by the specification.
See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
required string name = 1;
Link copied to clipboard
open fun setNameBytes(value: ByteString): VectorTile.Tile.Layer.Builder
required string name = 1;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
required uint32 version = 15 [default = 1];